package Service;

import Model.Student;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.ArrayList;

public interface StudentService {
    public void showStu() throws Exception;
    public void addStu(String name,String sex,Integer age,String major,String format ) throws Exception;
    public boolean delStu( int stuId) throws Exception;
    public boolean updateStu(int stuId1) throws Exception;
    public boolean searchStu(Student[]stus,int len,Integer id);
    public void findStu(Student[]stus,int len,Student[]find);
}
